export default [
    {
        url: "/api/users/register",
        method: "post",
        response: () => {
            return {
                "userId": "001209",
                "userAccount": "001209",
                "password": "001209",
                "userName": "test",
                "deptId": "311106",
                "createTime": "2025-01-07T17:08:12.185",
                "updateTime": null
            }
        }
    },
    {
        url: "/api/users/login",
        method: "post",
        response: () => {
            return {
              data: {
                "userId": "001201",
                "userAccount": "001201",
                "password": "0012012",
                "userName": "李医生",
                "deptId": "311100",
                "createTime": "2024-12-31T11:27:56",
                "updateTime": "2025-01-07T17:09:03",
              }
            }
          }
    },
    {
        url: /\/api\/users\/(\d+)/,
        method: "get",
        response: () => {
          return {
            data: {
                "userId": "001201",
                "userAccount": "001201",
                "password": "0012012",
                "userName": "李医生",
                "deptId": "311100",
                "createTime": "2024-12-31T11:27:56",
                "updateTime": "2025-01-07T17:09:03",
              userInfo: {
                username: 'admin',
                name: 'avue',
                avatar: 'https://gitee.com/uploads/61/632261_smallweigit.jpg',
              },
              roles: 'admin',
              permission: [
                'sys_crud_btn_add',
                'sys_crud_btn_export',
                'sys_menu_btn_add',
                'sys_menu_btn_edit',
                'sys_menu_btn_del',
                'sys_role_btn1',
                'sys_role_btn2',
                'sys_role_btn3',
                'sys_role_btn4',
                'sys_role_btn5',
                'sys_role_btn6',
              ]
            }
          }
        }
      }
]
